﻿using System;
using System.Collections.Generic;
using System.Text;

using SendLeaderMarking.Common.Entity;
using System.Collections;

namespace SendLeaderMarking.Common.Interface
{
    public interface ISendMarking
    {
        /// <summary>
        /// 获得室主管
        /// </summary>
        /// <param name="strUserCode">USER_CODE</param>
        /// <returns>IList</returns>
        IList GetSupervisor(string strUserCode);

        /// <summary>
        /// 获得一级部门领导
        /// </summary>
        /// <param name="strUserCode">USER_CODE</param>
        /// <returns>IList</returns>
        IList GetTopLeader(string strUserCode);

        /// <summary>
        /// 获得二级部门领导
        /// </summary>
        /// <param name="strUserCode">USER_CODE</param>
        /// <returns>IList</returns>
        IList GetLeader(string strUserCode);

        /// <summary>
        /// 获得公司领导
        /// </summary>
        /// <returns>IList</returns>
        IList GetHeadLeader();

        /// <summary>
        /// 获得常用附言
        /// </summary>
        /// <param name="strUserCode">USER_CODE</param>
        /// <returns>IList</returns>
        IList GetNormalMsg(string strUserCode);

        /// <summary>
        /// 添加审批信息
        /// </summary>
        /// <param name="histroy">ApprovalHistoryEntity Object</param>
        /// <returns>int effect row</returns>
        void InsertTaskMsg(ApprovalHistoryEntity histroy);

        UserEntity GetUser(string strUserCode);
    }
}
